.item {
    box-sizing: border-box;
    display: inline-block;
    padding: 5px;
}

.title {
    text-align: center;
    padding: 5px;
    border: 1px solid #000;
}

.content {
    display: flex;
    border: 1px solid #000;
}

.text {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #000;
}

.text div {
    flex: 1;
}

.text div:first-child {
    border-bottom: 1px solid #000;
}

.text div span{
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.barcode {
    flex: 2;
    text-align: center;
    padding: 1px;
}

.barcode img {
    width: 100%;
    vertical-align: middle;
}

/*操作样式*/
.action {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000c0;
    color: #fff;
    padding: 50px;
    border-radius: 10px;
}

.size {
    text-align: center;
    padding: 30px 80px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    box-shadow: 0 0 5px #ffffff;
}

.size:hover, .active {
    border: 1px solid greenyellow;
    color: greenyellow;
    box-shadow: 0 0 5px greenyellow;
}

.button {
    text-align: center;
    background-color: #286090e0;
    padding: 30px 80px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 5px #286090;
}

.button:hover {
    background-color: #337ab7e0;
    box-shadow: 0 0 5px #337ab7;
}
